package com.shop.service;

import com.shop.Utils.PageBean;
import com.shop.po.Message;

public interface MessageService {
	public void insertMessage(Message messages) throws Exception;

	public void deleteMessage(int messageid) throws Exception;

//	所有留言
	public PageBean<Message> findAllMessageByPage(int page) throws Exception;

	Message findBymessageid(int messageid) throws Exception;

//	更新---回复
	public void adminMessage_update(Message messages);
	
	// 查看当前用户留言
		public PageBean<Message> findUserMessageByPage(int page, int userid) throws Exception;
}
